package com.jeeplus.config;

import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

//@EnableScheduling
@Component
public class ScheduledTasks {

//    @Scheduled(fixedRate = 3000)
    public void performTask() {

        System.out.println("定时任务执行：" + System.currentTimeMillis());
    }
}
